<!DOCTYPE HTML>
<html>
<head>
<meta charset="{$_K[charset]}">
<title>{$p_shop_info[shop_name]}-{$p_shop_nav[$view]}-{$_K[html_title]}</title>
<!--页面样式初始化-->
<link href="resource/css/reset.css" rel="stylesheet" type="text/css">

<!--box样式-->
<link href="resource/css/box.css" rel="stylesheet" type="text/css">

<!--按钮样式-->
<link href="resource/css/button/stylesheets/css3buttons.css" rel="stylesheet" type="text/css">

<!--公用样式-->
<link href="resource/css/base.css" rel="stylesheet" type="text/css">
<!--布局样式-->
<link href="resource/css/layout/960.min.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="favicon.ico"/>

<!--页面提示样式-->
<link href="resource/js/jqplugins/tipsy/tipsy.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="resource/js/jquery.js"></script>
<script type="text/javascript" src="resource/js/jqplugins/tipsy/jquery.tipsy.js"></script> 

<script type="text/javascript" src="resource/js/system/html5.js"></script> 
<!--jQuery1.4.4库-->
<!--表单样式js-->
<script type="text/javascript" src="resource/js/jqplugins/lavalamp/jquery.lavalamp-1.3.5.min.js"></script>
<!--空间样式-->
<link href="{SKIN_PATH}/css/zone.css" rel="stylesheet" type="text/css">
<link href="resource/js/jqplugins/tipsy/tipsy.css" rel="stylesheet">
<link href="{SKIN_PATH}/theme/{$_K['theme']}/css/button/stylesheets/css3buttons.css" rel="stylesheet">
<link href="resource/js/jqplugins/starrating/jquery.rating.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="resource/js/system/keke.js?v=2.0"></script>
<script type="text/javascript" src="resource/js/jqplugins/jQuery.mouseDelay.js"></script>
<script type="text/javascript" src="resource/js/jqplugins/jquery.masonry.min.js"></script>
<script type="text/javascript" src="resource/js/jqplugins/waypoints/waypoints.min.js"></script>

<script type="text/javascript" src="resource/js/in.js"></script> 
<script src="lang/{$language}/script/lang.js" type="text/javascript"></script>
<script type="text/javascript">
	 //js异步加载预定义
 	In.add('mouseDelay',{path:"resource/js/jqplugins/jQuery.mouseDelay.js",type:'js'});
	In.add('waypoints',{path:"resource/js/jqplugins/waypoints/waypoints.min.js",type:'js'});
	In.add('custom',{path:"resource/js/system/custom.js",type:'js',rely:['waypoints']});
 

	In.add('lavalamp',{path:"resource/js/jqplugins/lavalamp/jquery.lavalamp-1.3.5.min.js",type:'js'});
	In.add('tipsy',{path:"resource/js/jqplugins/tipsy/jquery.tipsy.js",type:'js'});
	In.add('autoIMG',{path:"resource/js/jqplugins/autoimg/jQuery.autoIMG.min.js",type:'js'});
 	In.add('slides',{path:"resource/js/jqplugins/slides.min.jquery.js",type:'js'});

	In.add('header_top',{path:"resource/js/system/header_top.js",type:'js',rely:['mouseDelay']}); 
	In.add('lazy',{path:"resource/js/system/lazy.js",type:'js'});
	
 
	var CHARSET    = "{$_K['charset']}";
	var SITEURL    = "{$_K['siteurl']}";
 	var uid 	   = "$uid";  
	var bgimg      = "{$bgimg}";
	var pbgimg     = "{$shop_background}";
	var LANG       = '{$language}';
	
</script>
<script type="text/javascript" src="{SKIN_PATH}/space/zone.js"></script>

{if $p_shop_info['shop_background']}
<style type="text/css" id="sitebg">
	.default,
	.lj,
	.qxy,
	.lsjd,
	.bh,
	.qxyy{background:url('{$p_shop_info['shop_background']}') {$shop_backstyle};}
	.default .wrapper_bk,
	.lj .wrapper_bk,
	.qxy .wrapper_bk,
	.lsjd .wrapper_bk,
	.bh .wrapper_bk,
	.qxyy .wrapper_bk{background:none;}
</style>
{/if}
</head>

<body class=" {if $p_shop_info[shop_skin]} $p_shop_info[shop_skin] {else} default {/if}">
<!--[if IE 8]><div id="ie8"><![endif]-->
    <!--[if IE 7]><div id="ie7"><![endif]-->
    <!--[if IE 6]><div id="ie6"><![endif]-->
	<div id="append_parent">
        </div>
        <div id="ajaxwaitid">
        	<div>
        	<img src="{SKIN_PATH}/theme/{$_K['theme']}/img/system/loading.gif" alt="loading"/>
			{$_lang['request_processing']}
			</div>
		</div>
		<!--无刷新临时替换层-->
        <div id="noflushwarper">
        	<div id="noflushwarper_sub"></div>
        </div>
<div class=" clearfix" id="wrapper"><!--换肤-->
	<div class="wrapper_bk clearfix" ><!--换肤-->	
        <!--页面顶部-->
        <header class="pb_10 heads">
            <!--最顶部-->
            <div class="head_top fl_r clearfix">
            	<a href="index.php" target="_blank"><div class="icon16 home reverse"></div>{$_lang['return_home']}</a>
               
				{if $p_shop_info['uid']==$uid}
				<!--自己的店铺-->
                	<a href="index.php?do=user&view=setting&op=space&opp=basic#userCenter" title={$_lang['custom']}>
                		<div class="icon16 wrench-plus reverse"></div>{$_lang['custom']}</a>
					<a href="javascript:void(0);" onclick="customLoad('{$p_shop_info[uid]}','$p_shop_info[shop_skin]',1);">
						<div class="icon16 wrench-plus reverse"></div>{$_lang['style_set']}</a>
					<div class="pad10 t_c pstyle" id="sTyle"></div>
					<a href="javascript:void(0);" onclick="customLoad('{$p_shop_info[uid]}','$p_shop_info[shop_skin]',2);"><div class="icon16 wrench-plus reverse"></div>{$_lang['background']}</a>
					<div class="pad10 t_c pground" id="bGround"></div>
				{else}
				<!--别人的店铺-->
				 	  <a href="index.php?do=space&member_id={$uid}">{$_lang['my_shop']}</a>
				{/if}
				<a href=index.php?do=ajax&view=share&oid=1&title={$member_info[username]}{$_lang['space']} 
				id="share1" onclick="return false;" onmouseover="share(this)" title="{$_lang['share']}" ><div class="icon16 share reverse"></div>{$_lang['share']}</a>
				<a href="javascript:void(0);" onclick="favor('shop_id','shop','shop','$p_shop_info[uid]','$p_shop_info[uid]','{$p_shop_info[shop_name]}','$p_shop_info[uid]')" ><div class="icon16 star-fav-empty reverse"></div>{$_lang['favorit']}</a>
				{if !$uid}
					<a href="index.php?do=register" title={$_lang['register']}><div class="icon16 key reverse"></div>{$_lang['register']}</a>
              	    <a href="index.php?do=login" title={$_lang['login']}><div class="icon16 users reverse"></div>{$_lang['login']}</a>
				{else}
                	<a href="index.php?do=logout" onclick="showWindow('out','index.php?do=logout');return false;" title={$_lang['logout']}><div class="icon16 on-off reverse"></div>{$_lang['logout']}</a>
				{/if}
             </div>
            <!--end 最顶部-->
            
            <div class="clear"></div>
            
            <div class="container_24 mt_30 clearfix" id="pageTop">

                <!--小头部-->
                <div class=" head_info"> </div><!--小头部透明背景--><!--换肤-->
                
                    <div class="head_list po_re clearfix">
                        <div class="user_pto fl_l">
                            <a href="index.php?do=user"><!--{userpic($member_info[uid],'small')}--></a>
                        </div>
                        
                        <div class="head_left grid_22 clearfix">
                            <h1 class="shop_name">$p_shop_info[shop_name]</h1>
							<div>
								<div class="fl_l">{$_lang['address_space']}:<a class="rel" href="index.php?do=space&member_id=$member_info[uid]">$p_url</a></div>
								<span class="fl_r act_num">{$_lang['visits']}：$p_shop_info[views]{$_lang['times']}</span>
                        	</div>
                        </div>
                     </div>
                    
               <div class="clear"></div>
                <!--end 小头部-->
                
                <!--导航-->
                <div class="box"><!--换肤-->
                    <div class="nav_bk">
                        <nav class="box_nav ">
                            <ul class="font14b">
                            	{loop $p_shop_nav $k $v}
                               	 <li><a href="index.php?do=space&member_id=$member_id&view={$k}" >{$v}</a></li>
								{/loop}
                            </ul>
                            <div class="clear"></div>
                        </nav>
                    </div>
                </div>
                <!--end 导航-->
			
            </div>   
        </header>
        <!--end 页面顶部-->